crypto/tls.halfConn.setErrorLocked (method)
39 uses
crypto/tls (current package)
conn.go#L194: func (hc *halfConn) setErrorLocked(err error) error {
conn.go#L616: return c.in.setErrorLocked(errors.New("tls: internal error: attempted to read record with pending application data"))
conn.go#L621: return c.in.setErrorLocked(errors.New("tls: internal error: attempted to read record with QUIC transport"))
conn.go#L633: c.in.setErrorLocked(err)
conn.go#L646: return c.in.setErrorLocked(c.newRecordHeaderError(nil, "unsupported SSLv2 handshake received"))
conn.go#L660: return c.in.setErrorLocked(c.newRecordHeaderError(nil, msg))
conn.go#L668: return c.in.setErrorLocked(c.newRecordHeaderError(c.conn, "first record does not look like a TLS handshake"))
conn.go#L674: return c.in.setErrorLocked(c.newRecordHeaderError(nil, msg))
conn.go#L678: c.in.setErrorLocked(err)
conn.go#L687: return c.in.setErrorLocked(c.sendAlert(err.(alert)))
conn.go#L690: return c.in.setErrorLocked(c.sendAlert(alertRecordOverflow))
conn.go#L695: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L705: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L710: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L714: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L717: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L720: return c.in.setErrorLocked(io.EOF)
conn.go#L723: return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
conn.go#L730: return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
conn.go#L732: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L737: return c.in.setErrorLocked(c.sendAlert(alertDecodeError))
conn.go#L741: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L752: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L755: return c.in.setErrorLocked(c.sendAlert(err.(alert)))
conn.go#L760: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L774: return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L788: return c.in.setErrorLocked(errors.New("tls: too many ignored records"))
conn.go#L834: return c.out.setErrorLocked(&net.OpError{Op: "local error", Err: err})
conn.go#L851: return c.out.setErrorLocked(&net.OpError{Op: "local error", Err: err})
conn.go#L1092: return nil, c.in.setErrorLocked(fmt.Errorf("tls: handshake message of length %d bytes exceeds maximum of %d bytes", n, maxHandshake))
conn.go#L1151: return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L1160: return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
conn.go#L1226: return n, c.out.setErrorLocked(err)
conn.go#L1233: return n + m, c.out.setErrorLocked(err)
conn.go#L1295: return c.in.setErrorLocked(errors.New("tls: too many non-advancing records"))
conn.go#L1315: return c.in.setErrorLocked(errors.New("tls: received unexpected key update message"))
conn.go#L1320: return c.in.setErrorLocked(c.sendAlert(alertInternalError))
conn.go#L1338: c.out.setErrorLocked(err)
quic.go#L221: return quicError(c.in.setErrorLocked(errors.New("tls: handshake data received at wrong level")))
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |